package com.match.competition_apply.service;

import com.match.competition_apply.entity.CompetitionInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.match.competition_apply.entity.vo.CompetitionInfoQuery;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AdiosF
 * @since 2021-09-23
 */
public interface CompetitionInfoService extends IService<CompetitionInfo> {

    //根据查询条件分页查询所有竞赛信息
    Map<String, Object> findCompetitionByQueryPage(long current, long limit, CompetitionInfoQuery competitionInfoQuery);

    //根据教师职工号得到教师姓名
    String getTeacherNameByNumber(String teacherNumber);

    //学生-根据查询条件分页查询所有竞赛信息
    Map<String, Object> getAllComByQueryPage(long current, long limit, CompetitionInfoQuery competitionInfoQuery);
}
